package com.zeng.sim;

import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * 描述信息
 *
 * @author zengwanlin
 * @date 2023-12-19T15:35
 */
@SpringBootApplication
@MapperScan(basePackages = "com.zeng.sim.mapper", annotationClass = Mapper.class)
public class MsgSimulatorApplication extends SpringBootServletInitializer {

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(MsgSimulatorApplication.class);
    }

    public static void main(String[] args) {
        SpringApplication.run(MsgSimulatorApplication.class, args);
    }

}
